package net.niufei.study.epatterns.transaction;

public interface TransactionParticipant {

	void lock() throws InterruptedException;
	
	void unlock();
	
	Snapshot captureSnapshot();
	
	void restoreSnapshot(Snapshot snapshot);
}
